/*
//行用卡消费记录 静态变量定义使用行用卡的总消费记录

import java.util.Scanner;

public class spend {
    static int count = 0 ;
    float amount;

    public void pay(){
        System.out.println("  您有一笔大额消费，交\n易金额："+this.amount+"元");
        count++;
    }

    public spend(float amount){
        this.amount = amount;
    }

    public static void main(String[] args){

        Scanner a = new Scanner(System.in);
        int c = a.nextInt();

        spend n = new spend(c);
        n.pay();

        System.out.println("\n您最近有"+count+"笔交易");
    }
}

 */
